package interpreter;
import java.math.BigDecimal;


public abstract class Expr {
	
	public BigDecimal eval() throws Exception{
		return evaluate(new Env());
	}
	
	protected abstract BigDecimal evaluate(Env env) throws Exception;
	
}
